<?php

$redis = new Redis();
$redis->connect("127.0.0.1", 6379);

$key = 'user.score';
$redis->del($key);
$months = range(1,30);

foreach ($months as $v) {
	$redis->lpush($key, $v);
}


$data = $redis->lRange($key, 0, -1);

print_r($data);
